package baiqi.sishen.community.dto;

import lombok.Data;

/**
 * @author 兕神
 * @version 1.0
 * DateTime: 2023/5/5
 */
@Data
public class HotTagDTO implements Comparable {
    private String name;
    private Long priority;

    public int compareTo(Object o) {
        return (int) (this.getPriority() - ((HotTagDTO) o).getPriority());
    }
}
